A Per Model of Polymorphism and Recursive Types
نویسندگان
چکیده
The ideal model provides an interpretation for a rich type system, with polymorphism and recursion [12], but not a model of the typed λ-calculus. In search for a satisfactory semantics for λ-calculi with recursive and polymorphic types, it seems natural, then, to consider partial equivalence relations (pers) instead of ideals. As ideals are certain subsets of a universal domain D, we replace them with certain pers over D (rather than over ω, as in [8, 19]). For example, in order to interpret recursion, only the pers over D that satisfy a completeness axiom should be considered. This study was begun by Amadio and Cardone [1, 5]. They left open how to find complete partial orders on pers so that recursive types could be obtained by applying the usual inverselimit construction [18]. In the case of models
منابع مشابه
Step-Indexed Syntactic Logical Relations for Recursive and Quantified Types
We present a proof technique, based on syntactic logical relations, for showing contextual equivalence of expressions in a λ-calculus with recursive types and impredicative universal and existential types. We show that for recursive and polymorphic types, the method is both sound and complete with respect to contextual equivalence, while for existential types, it is sound but incomplete. Our de...
متن کاملFrom parametric polymorphism to models of polymorphic FPC
This paper shows how PILLY (Polymorphic Intuitionistic / Linear Lambda calculus with a fixed point combinator Y ) with parametric polymorphism can be used as a metalanguage for domain theory, as originally suggested by Plotkin more than a decade ago. Using Plotkin’s encodings of recursive types in PILLY we show how parametric models of PILLY give rise to models of FPC, a simply typed lambda cal...
متن کاملRealisability semantics of parametric polymorphism, general references and recursive types
We present a realisability model for a call-by-value, higher-order programming language with parametric polymorphism, general first-class references, and recursive types. The main novelty is a relational interpretation of open types that include general reference types. The interpretation uses a new approach to modelling references. The universe of semantic types consists of world-indexed famil...
متن کاملRealizability Semantics of Parametric Polymorphism, General References, and Recursive Types
We present a realizability model for a call-by-value, higher-order programming language with parametric polymorphism, general first-class references, and recursive types. The main novelty is a relational interpretation of open types (as needed for parametricity reasoning) that include general reference types. The interpretation uses a new approach to modeling references. The universe of semanti...
متن کاملFsub with Recursive Types: \types-as-propositions" Interpretation in M. Rabin's S2s
Subtyping judgments of the polymorphic second-order typed-calculus F extended by recursive types and diierent known inference rules for these types could be interpreted in S2S, M.Rabin's monadic second-order theory of two successor functions. On the one hand, this provides a comprehensible model of the parametric and inheritance polymorphisms over recursive types, on the other, proves that the ...
متن کامل